package org.springframework.core.type;

import java.lang.annotation.Annotation;
import java.util.Set;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/12/14
 */
public interface AnnotationMetadata extends AnnotatedTypeMetadata,ClassMetadata{
    Set<String> getAnnotationTypes();

    Class<?> getIntrospectedClass();

    boolean hasAnnotation(Class<? extends Annotation> annotationType);

    boolean hasAnnotatedMethods(Class<? extends Annotation> annotationType);

    Set<MethodMetadata> getAnnotatedMethods(Class<? extends Annotation> annotationType);
}
